package com.rd.sys.common.web.menu;

import java.io.Serializable;
import java.util.List;

/**
 * The Class Group.
 */
public class Group implements Serializable {
    
    /** The Constant serialVersionUID. */
    private static final long serialVersionUID = 519675936547940389L;

    /** 一级菜单名称. */
    private String name;
    
    /** 一级菜单对应的图片所属的class属性（在CSS样式文件中定义）. */
    private String iconClass;

    /** 二级菜单组. */
    private List<ChildGroup> childgroup;

    /**
     * Gets the childgroup.
     * 
     * @return the childgroup
     */
    public List<ChildGroup> getChildgroup() {
        return childgroup;
    }

    /**
     * Sets the childgroup.
     * 
     * @param childgroup the new childgroup
     */
    public void setChildgroup(List<ChildGroup> childgroup) {
        this.childgroup = childgroup;
    }

    /**
     * Gets the icon class.
     * 
     * @return the icon class
     */
    public String getIconClass() {
        return iconClass;
    }

    /**
     * Sets the icon class.
     * 
     * @param iconClass the new icon class
     */
    public void setIconClass(String iconClass) {
        this.iconClass = iconClass;
    }

    /**
     * Gets the name.
     * 
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * Sets the name.
     * 
     * @param name 要设置的 name
     */
    public void setName(String name) {
        this.name = name;
    }

}
